package com.kj.gitwe.service.Impl;

import com.kj.gitwe.mapper.UserMapper;
import com.kj.gitwe.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service("UserService")
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;


    @Override
    public int queryUserById(String id) {
        return  userMapper.selectUserById(id);
    }
}
